package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条文信息与方剂关联关系对象 sys_app_clause_prescription
 * 
 * @author ruoyi
 * @date 2020-10-10
 */
public class SysAppClausePrescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 条文的id */
    @Excel(name = "条文的id")
    private Long clauseId;

    /** 方剂的id */
    @Excel(name = "方剂的id")
    private Long prescriptionId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClauseId(Long clauseId) 
    {
        this.clauseId = clauseId;
    }

    public Long getClauseId() 
    {
        return clauseId;
    }
    public void setPrescriptionId(Long prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Long getPrescriptionId() 
    {
        return prescriptionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clauseId", getClauseId())
            .append("prescriptionId", getPrescriptionId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
